﻿using System;
using UnityEngine;
using UnityStandardAssets.Vehicles.Car;

// Token: 0x020003C5 RID: 965
[RequireComponent(typeof(CarController))]
public class StandardCarControl : VehicleInputController
{
	// Token: 0x06001A77 RID: 6775 RVA: 0x000A5431 File Offset: 0x000A3631
	private void Awake()
	{
		this.m_Car = base.GetComponent<CarController>();
	}

	// Token: 0x06001A78 RID: 6776 RVA: 0x000A5440 File Offset: 0x000A3640
	private void FixedUpdate()
	{
		float axis = Input.GetAxis("Horizontal");
		float axis2 = Input.GetAxis("Vertical");
		float axis3 = Input.GetAxis("Jump");
		this.m_Car.Move(axis, axis2, axis2, axis3);
	}

	// Token: 0x04001C40 RID: 7232
	private CarController m_Car;
}
